package io.jpress.addon.securityinformation.controller;

import com.jfinal.aop.Inject;
import com.jfinal.kit.Ret;
import io.jboot.utils.StrUtil;
import io.jboot.web.controller.annotation.RequestMapping;
import io.jpress.addon.securityinformation.model.JpressAddonSecurityinformationSrd;
import io.jpress.addon.securityinformation.model.JpressAddonSecurityinformationSrdDeviceIdentification;
import io.jpress.addon.securityinformation.service.JpressAddonSecurityinformationSrdService;
import io.jpress.model.User;
import io.jpress.web.base.TemplateControllerBase;

import java.util.ArrayList;

/**
 * SecurityinformationSrdAPI
 * anjie 2020年3月24日
 */
@RequestMapping(value = "/securityInformationSrdSearch")
public class SecurityInformationSrdSearchController extends TemplateControllerBase {

    @Inject
    private JpressAddonSecurityinformationSrdService service;

    public void index(){

        String language = get("language");
        if(language!=null && language.equals("ch")){
            render("srd_search_ch.html");
        }else{
            render("srd_search_en.html");
        }

    }

}
